package com.example.controller;

import com.example.service.ServiceTest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class ControllerTest {

    ServiceTest st = new ServiceTest();
    @RequestMapping("/showAll")
    public String  showController(){
        return st.showService()+"，我是controller";
    }
}
